package com.jyh.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jyh.entity.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author JYH
 * @version 1.0
 * @date 2023/1/3 19:30
 */
@Mapper
@Repository
public interface PermissionMapper extends BaseMapper<Permission> {
    public List<Permission> findByUserId(Integer userid);
}
